package com.hhs.storage.bean;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
import java.time.LocalTime;
import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author chx
 * @since 2024-01-23
 */

@Data
public class WorkOvertimeTime implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 加班详情表id
     */
    private String id;

    /**
     * 加班表id
     */
    private String workId;

    /**
     * 开始时间
     */
    @JSONField(format = "HH:mm:ss")
    @DateTimeFormat(pattern = "HH:mm:ss")
    private LocalTime startTime;

    /**
     * 结束时间
     */
    @JSONField(format = "HH:mm:ss")
    @DateTimeFormat(pattern = "HH:mm:ss")
    private LocalTime endTime;

    @JSONField(format = "HH:mm:ss")
    @DateTimeFormat(pattern = "HH:mm:ss")
    private LocalTime startTimes;

    @JSONField(format = "HH:mm:ss")
    @DateTimeFormat(pattern = "HH:mm:ss")
    private LocalTime endTimes;
}
